﻿<navigation:Page xmlns:riaControls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Ria"
                 xmlns:localData="clr-namespace:SilverlightSEO"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 mc:Ignorable="d"
                 xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
                 xmlns:layoutToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Layout.Toolkit"
                 xmlns:Liquid="clr-namespace:Liquid;assembly=Liquid.RichText"
                 xmlns:Liquid1="clr-namespace:Liquid;assembly=RichTextEditor"
                 xmlns:SilverlightContrib_Controls="clr-namespace:SilverlightContrib.Controls;assembly=CoolMenu"
                 xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit"
                 xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit"
                 xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:ga="clr-namespace:Google.WebAnalytics;assembly=Google.WebAnalytics"
                 x:Class="SilverlightSEO.Content"
                 d:DesignWidth="640"
                 d:DesignHeight="480"
                 Title="Content Page">
	<navigation:Page.Resources>
        <localData:DateFormatConverter x:Key="DateConverter" />
    </navigation:Page.Resources>
    <Grid x:Name="LayoutRoot">

        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="Modes">
                <VisualStateGroup.Transitions>
                    <VisualTransition GeneratedDuration="00:00:00.3000000" />
                    <VisualTransition From="Editing"
                                      GeneratedDuration="00:00:00.3000000">
                        <VisualTransition.GeneratedEasingFunction>
                            <BackEase EasingMode="EaseOut" />
                        </VisualTransition.GeneratedEasingFunction>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="ContentPanel"
                                                           Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="90" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimation Duration="00:00:00.6000000"
                                             Storyboard.TargetName="border"
                                             Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)"
                                             To="0" />
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="EditPanel"
                                                           Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="border"
                                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="0.25" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="border"
                                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="0.25" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="ControlPanelImage"
                                                           Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                                <DiscreteObjectKeyFrame KeyTime="00:00:00.5000000">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                        </Storyboard>
                    </VisualTransition>
                    <VisualTransition From="Editable"
                                      GeneratedDuration="00:00:00.3000000"
                                      To="ControlPanelVisible" />
                    <VisualTransition From="ControlPanelVisible"
                                      GeneratedDuration="00:00:00.3000000"
                                      To="Editing">
                        <VisualTransition.GeneratedEasingFunction>
                            <BackEase EasingMode="EaseIn" />
                        </VisualTransition.GeneratedEasingFunction>
                        <Storyboard>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="border"
                                                           Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.1000000"
                                                      Value="0" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.2000000"
                                                      Value="0" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="90" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="EditPanel"
                                                           Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Visible</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="ContentPanel"
                                                           Storyboard.TargetProperty="(UIElement.Visibility)">
                                <DiscreteObjectKeyFrame KeyTime="00:00:00.3000000">
                                    <DiscreteObjectKeyFrame.Value>
                                        <Visibility>Collapsed</Visibility>
                                    </DiscreteObjectKeyFrame.Value>
                                </DiscreteObjectKeyFrame>
                            </ObjectAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="border"
                                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="0.25" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="0.999349" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                           Storyboard.TargetName="border"
                                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                                <EasingDoubleKeyFrame KeyTime="00:00:00.3000000"
                                                      Value="0.25" />
                                <EasingDoubleKeyFrame KeyTime="00:00:00.6000000"
                                                      Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimation Duration="00:00:00.3000000"
                                             Storyboard.TargetName="ControlPanelBorder"
                                             Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)"
                                             To="0" />
                            <DoubleAnimation BeginTime="00:00:00"
                                             Duration="00:00:00.6000000"
                                             Storyboard.TargetName="EditPanel"
                                             Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)"
                                             From="90"
                                             To="0" />
                        </Storyboard>
                    </VisualTransition>
                </VisualStateGroup.Transitions>
                <VisualState x:Name="Editable">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.Opacity)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                <DiscreteObjectKeyFrame.Value>
                                    <VerticalAlignment>Top</VerticalAlignment>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
                <VisualState x:Name="Editing">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="EditPanel"
                                                       Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="0" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ContentPanel"
                                                       Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="90" />
                        </DoubleAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="EditPanel"
                                                       Storyboard.TargetProperty="(UIElement.Visibility)">
                            <DiscreteObjectKeyFrame KeyTime="00:00:00">
                                <DiscreteObjectKeyFrame.Value>
                                    <Visibility>Visible</Visibility>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="border"
                                                       Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.RotationY)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="0" />
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
                <VisualState x:Name="ReadOnly">
                    <Storyboard />
                </VisualState>
                <VisualState x:Name="ControlPanelVisible">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelBorder"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelBorder"
                                                       Storyboard.TargetProperty="(UIElement.Opacity)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.Opacity)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelImage"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="1" />
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="00:00:00"
                                                       Duration="00:00:00.0010000"
                                                       Storyboard.TargetName="ControlPanelBorder"
                                                       Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
                            <EasingDoubleKeyFrame KeyTime="00:00:00"
                                                  Value="0" />
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>

        </VisualStateManager.VisualStateGroups>
    	<i:Interaction.Behaviors>
    		<ga:GoogleAnalytics Scope="Application" WebPropertyId="UA-101702-16"/>
    	</i:Interaction.Behaviors>
    	<controlsToolkit:BusyIndicator HorizontalAlignment="Left" VerticalAlignment="Top" Content="Please wait..." IsBusy="{Binding IsBusy, ElementName=SiteDomainService, Mode=OneWay}"/>
        <riaControls:DomainDataSource x:Name="SiteDomainService"
                                      QueryName="GetPageByTitle"
                                      Grid.RowSpan="2">
            <riaControls:DomainDataSource.DomainContext>
                <localData:SiteDomainContext />
            </riaControls:DomainDataSource.DomainContext>
            <riaControls:DomainDataSource.QueryParameters>
                <riaControls:ControlParameter ControlName="LayoutRoot"
                                              PropertyName="DataContext"
                                              ParameterName="title" />
            </riaControls:DomainDataSource.QueryParameters>
        </riaControls:DomainDataSource>
        <Border x:Name="border"
                BorderBrush="#FF595959"
                BorderThickness="1"
                CornerRadius="3"
                RenderTransformOrigin="0.5,0.5"
                Background="White">
            <Border.RenderTransform>
                <TransformGroup>
                    <ScaleTransform />
                    <SkewTransform />
                    <RotateTransform />
                    <TranslateTransform />
                </TransformGroup>
            </Border.RenderTransform>
            <Border.Projection>
                <PlaneProjection />
            </Border.Projection>
            <Grid x:Name="grid">
                <Grid.Projection>
                    <PlaneProjection />
                </Grid.Projection>
                <StackPanel x:Name="EditPanel"
                            RenderTransformOrigin="0.5,0.5"
                            d:LayoutOverrides="GridBox"
                            Visibility="Collapsed" DataContext="{Binding DataContext, ElementName=ContentPanel, Mode=TwoWay, UpdateSourceTrigger=Default}" Margin="5">
                    <StackPanel.Projection>
                        <PlaneProjection RotationY="0" />
                    </StackPanel.Projection>
                    <StackPanel.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform />
                            <SkewTransform />
                            <RotateTransform />
                            <TranslateTransform />
                        </TransformGroup>
                    </StackPanel.RenderTransform>
                    <StackPanel x:Name="TitleStackPanel" Orientation="Horizontal" VerticalAlignment="Top" Height="25" Margin="0,5,0,0">
                		<TextBlock  Text="Title:" Style="{StaticResource EditLabel}" />
                    	<TextBox x:Name="TitleTextBox"
                    		Text="{Binding Title, Mode=TwoWay}" Margin="5,0,0,0" />
                	</StackPanel>
                    <StackPanel x:Name="ContentStackPanel"  Orientation="Vertical" MinHeight="200" MinWidth="300">
                    	<TextBlock  Text="Content:" Style="{StaticResource EditLabel}" />
                    	<Liquid1:RichTextEditor x:Name="HtmlEditor"
                    		Margin="0,0,0,0"
                    		Height="200" />
                    </StackPanel>
                    <StackPanel x:Name="KeywordsStackPanel" Orientation="Horizontal" Height="25" VerticalAlignment="Top">
                    	<TextBlock  Text="Keywords:" Style="{StaticResource EditLabel}" />
                    	<TextBox x:Name="KeyWordsTextBox"
                    		Text="{Binding Keywords, Mode=TwoWay}" />
                    </StackPanel>
                    <StackPanel x:Name="DescriptionStackPanel" Orientation="Vertical" Height="25" VerticalAlignment="Top" MinHeight="100">
					<TextBlock  Text="Description:" Style="{StaticResource EditLabel}" />
                    	<TextBox x:Name="DescriptionTextBox"
                    		Text="{Binding Description, Mode=TwoWay}" />
                    </StackPanel>
                    <StackPanel x:Name="PriorityStackPanel"  Orientation="Horizontal" Height="25" VerticalAlignment="Top" MinHeight="25">
                    	<TextBlock Text="Priority:" TextWrapping="Wrap" Style="{StaticResource EditLabel}"/>
                    	<inputToolkit:NumericUpDown x:Name="PriorityNumericUpDown"
                    		Value="{Binding Priority, Mode=TwoWay}"
                    		Width="50"
                    		Maximum="1"
                    		DecimalPlaces="1"
                    		Increment="0.1" Height="25" HorizontalAlignment="Left" VerticalAlignment="Center" />
                    </StackPanel>
                    <StackPanel x:Name="SortIndexStackPanel"  Orientation="Horizontal" Height="25" MinHeight="25" VerticalAlignment="Top">
                    	<TextBlock Text="Sort Index:" TextWrapping="Wrap" Style="{StaticResource EditLabel}"/>
                    	<inputToolkit:NumericUpDown x:Name="SortIndexNumericUpDown"
                    		Value="{Binding SortIndex, Mode=TwoWay}"
                    		Width="50"
                    		DecimalPlaces="1"
                    		Increment="1.0" Height="25" HorizontalAlignment="Left" VerticalAlignment="Center" />
                    </StackPanel>
                    <StackPanel x:Name="ChangeFrequencyStackPanel"  Orientation="Horizontal" VerticalAlignment="Top" MinHeight="25">
                    	<TextBlock  Text="Change Frequency:" Style="{StaticResource EditLabel}" />
						<TextBox x:Name="ChangeFrequencyTextBox"
                    		Text="{Binding ChangeFrequency, Mode=TwoWay}" />
                    </StackPanel>
                    <Grid VerticalAlignment="Top">
						<Grid.ColumnDefinitions>
							<ColumnDefinition />
							<ColumnDefinition />
						</Grid.ColumnDefinitions>
                    	<Button x:Name="SaveButton" Grid.Column="0" HorizontalAlignment="Left"
                    		Content="Save Changes" VerticalAlignment="Center" />
							<Button x:Name="CancelButton" Grid.Column="1" HorizontalAlignment="Right"
                    		Content="Cancel Changes" VerticalAlignment="Center" />
                    </Grid>
                </StackPanel>

                <StackPanel x:Name="ContentPanel"
                            RenderTransformOrigin="0.5,0.5"
                            d:LayoutOverrides="GridBox">
                    <StackPanel.Projection>
                        <PlaneProjection />
                    </StackPanel.Projection>
                    <StackPanel.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform />
                            <SkewTransform />
                            <RotateTransform />
                            <TranslateTransform />
                        </TransformGroup>
                    </StackPanel.RenderTransform>

                    <layoutToolkit:TransitioningContentControl x:Name="transitioningContentControl"
                                                               Transition="UpTransition">
                        <layoutToolkit:TransitioningContentControl.Projection>
                            <PlaneProjection />
                        </layoutToolkit:TransitioningContentControl.Projection>
                        <layoutToolkit:TransitioningContentControl.ContentTemplate>
                            <DataTemplate>
                                <StackPanel Margin="5">

                                	<TextBlock x:Name="TitleTextBlock"
                                		Text="{Binding Title}"
                                		HorizontalAlignment="Left"
                                		Style="{StaticResource HeaderTextStyle}" Foreground="{StaticResource RedFontBrush}" Margin="5,15,0,0" />

                                    <StackPanel x:Name="stackPanel"
                                                Orientation="Horizontal"
                                                RenderTransformOrigin="0.5,0.5" Margin="5,3,5,0">

                                    	<TextBlock Foreground="{StaticResource GreyFontBrush}" Text="Posted"  FontSize="9.333"/>
                                    	<TextBlock Text="{Binding LastModified, Converter={StaticResource DateConverter}, Mode=OneWay}" Foreground="{StaticResource GreyFontBrush}" Margin="5,0,0,0" FontSize="9.333"/>
                                    	<TextBlock Text="by" Foreground="{StaticResource GreyFontBrush}"
                                    		Margin="5,0,0,0" FontSize="9.333" />
                                    	<TextBlock Text="{Binding aspnet_User.LoweredUserName}" Foreground="{StaticResource RedFontBrush}" Margin="5,0,0,0" FontSize="9.333"/>
                                    </StackPanel>
                                    <Path Fill="#FFC50A0A"
                                          Stretch="Fill"
                                          Stroke="#FF5F5F5F"
                                          StrokeDashCap="Round"
                                          StrokeEndLineCap="Round"
                                          StrokeStartLineCap="Round"
                                          Height="1"
                                          Margin="0,3,0,0"
                                          UseLayoutRounding="False"
                                          Data="M1,50 L630,50"
                                          StrokeDashArray="3 3" StrokeLineJoin="Round" StrokeMiterLimit="3" />
                                    <ScrollViewer Margin="0,10,0,0" ScrollViewer.VerticalScrollBarVisibility="Visible" BorderBrush="{x:Null}" MaxHeight="400" VerticalScrollBarVisibility="Auto">
                                               
                                    	<Liquid:RichTextBlock x:Name="ContentRichTextBlock" HTML="{Binding Html}"
                                    		TextWrapping="Wrap" Foreground="{StaticResource GreyFontBrush}"
                                    		LinkClicked="RichTextBlock_LinkClicked" VerticalContentAlignment="Top" HorizontalContentAlignment="Left"  />
                                    </ScrollViewer>
                                </StackPanel>
                            </DataTemplate>
                        </layoutToolkit:TransitioningContentControl.ContentTemplate>

                    </layoutToolkit:TransitioningContentControl>

                </StackPanel>

                <Image x:Name="ControlPanelImage"
                       Source="/SilverlightSEO;Component/Assets/EditIcon.PNG"
                       HorizontalAlignment="Right"
                       Width="48"
                       RenderTransformOrigin="0.5,0.5"
                       VerticalAlignment="Top"
                       Margin="0,0,8,0"
                       ToolTipService.ToolTip="Show Tools"
                       Cursor="Hand"
                       Opacity="0">
                    <Image.Projection>
                        <PlaneProjection />
                    </Image.Projection>
                    <Image.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform ScaleX="0"
                                            ScaleY="0" />
                            <SkewTransform />
                            <RotateTransform />
                            <TranslateTransform />
                        </TransformGroup>
                    </Image.RenderTransform>
                </Image>
                <Border x:Name="ControlPanelBorder"
                        Height="60"
                        HorizontalAlignment="Right"
                        Margin="0,41,7,0"
                        VerticalAlignment="Top"
                        BorderBrush="#A5494444"
                        BorderThickness="1"
                        CornerRadius="7"
                        Opacity="0"
                        RenderTransformOrigin="0.5,0.5" Background="#FFEEEEEE">
                    <Border.RenderTransform>
                        <TransformGroup>
                            <ScaleTransform />
                            <SkewTransform />
                            <RotateTransform />
                            <TranslateTransform X="190" />
                        </TransformGroup>
                    </Border.RenderTransform>

                    <StackPanel Orientation="Horizontal"
                                VerticalAlignment="Center">
                        <Image x:Name="EditPage"
                               Source="/SilverlightSEO;Component/Assets/Edit.PNG"
                               HorizontalAlignment="Right"
                               Width="48"
                               RenderTransformOrigin="0.5,0.5"
                               VerticalAlignment="Top"
                               Margin="10,0,0,0"
                               ToolTipService.ToolTip="Edit Page"
                               Cursor="Hand" />

                        <Image x:Name="AddPage"
                               Source="/SilverlightSEO;Component/Assets/add.PNG"
                               HorizontalAlignment="Right"
                               Width="48"
                               RenderTransformOrigin="0.5,0.5"
                               VerticalAlignment="Top"
                               Margin="10,0,0,0"
                               ToolTipService.ToolTip="Add Page"
                               Cursor="Hand" />

                        <Image x:Name="DeletePage"
                               Source="/SilverlightSEO;Component/Assets/delete.PNG"
                               HorizontalAlignment="Right"
                               Width="48"
                               RenderTransformOrigin="0.5,0.5"
                               VerticalAlignment="Top"
                               Margin="10,0,5,0"
                               ToolTipService.ToolTip="Remove Page"
                               Cursor="Hand" />

                    </StackPanel>
                </Border>

            </Grid>
        </Border>

    </Grid>
</navigation:Page>

